"UIPATH"="Program Options\Built in Windows Apps\Windows Registry Checker"
"NAME"="Maximum Number of Backups"
"LANGUAGE"="VBScript"
"TEXT 1"="No. of Backups:"
"DESCRIPTION 1"="In Windows 98 and Me, Microsoft included the Windows Registry Checker, a program which scanned the registry, to check for errors, and to create a backup."
"DESCRIPTION 2"="By default, the Registry Checker keeps 5 backups, however you may have more or less backups if you so wish. The minimum number is 1 backup, the maximum number is 99 backups."
"DESCRIPTION 3"="Bear in mind that while having more than one backup can be very useful, having a lot of backups will take up a lot of HD space."
"COMMENT 1"="Thanks to Axcel216 [axcel216@aol.com] for the idea!"
"VERSION"="1.02"
"AUTHOR"="Xteq Systems (Neil R. Turner)"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"CONTACURL"="http://www.xteq.com/"
"OSVERSION"="001010"
w=GetWinDir
sF="scanreg.ini"
SUB Plugin_Initialize
Call TxTOpen(w & sF)
i=TxtFindLine("MaxBackupCopies=",false)
if i>0 then
s=TxtGetLine(i)
i=InStr(s,"=")
s=Right(s,len(s)-i)
Call SetUIElement(1,s)
end if
END SUB
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
if s<1 OR s>99 then
Call MsgError("You must enter a value between 1 and 99!")